package com.hs.telepass.manager;

/**
 * Created by dasunsy on 15/7/15.
 */
public class OrganiztionManageer {

    private static OrganiztionManageer mInstance;
    public OrganiztionManageer(){
    }

    public static OrganiztionManageer getInstance(){
        if(null == mInstance){
            mInstance = new OrganiztionManageer();
        }
        return mInstance;
    }

    public boolean isOrgQrCode(String qrMsg){
        if(qrMsg.contains("singouencounter://")){
            return true;
        }else{
            return false;
        }
    }

    public String getMeetingId(String qrMsg){
        return (String) qrMsg.subSequence(qrMsg.length() - 4, qrMsg.length());
    }


}
